package com.manage.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.manage.platform.dto.query.AchievePageQuery;
import com.manage.platform.entity.AchieveEntity;
import com.manage.platform.vo.AchieveDetailsVo;
import com.manage.platform.vo.AchievePartVo;
import com.manage.platform.vo.AchieveVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * YWD
 * 2025/9/29
 */
@Mapper
public interface AchieveMapper extends BaseMapper<AchieveEntity> {

    List<AchieveVo> getAchievePage(@Param("query") AchievePageQuery query);

    AchieveDetailsVo getAchieveDetails(@Param("id") Long id);

    AchievePartVo getAchieveHistoryListOne(@Param("idList") List<Long> idList);

    AchievePartVo getAchieveHistoryListTwo(@Param("idList") List<Long> idList);

    AchievePartVo getAchieveHistoryListThree(@Param("idList") List<Long> idList);


}
